Changeset 241f12bf in mainline
- Timestamp:
- 2013-02-13T23:05:07Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 30c8723
- Parents:
- ddb3051
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/drivers/am335x/timer.c
rddb3051 r241f12bf 116 116 /* Disable compare mode */ 117 117 tclr &= ~AM335x_TIMER_TCLR_CE_FLAG; 118 /* Disable the prescaler */ 119 tclr &= ~AM335x_TIMER_TCLR_PRE_FLAG; 118 /* Enable the prescaler, divisor = 2 */ 119 tclr |= AM335x_TIMER_TCLR_PRE_FLAG; 120 tclr &= ~(AM335x_TIMER_TCLR_PTV_MASK << AM335x_TIMER_TCLR_PTV_SHIFT); 120 121 /* Enable auto-reload mode */ 121 122 tclr |= AM335x_TIMER_TCLR_AR_FLAG;
Note:
See TracChangeset
for help on using the changeset viewer.