Malta.py (5481:5afd4f01c824) | Malta.py (6379:75d4aaf7dd54) |
---|---|
1# Copyright (c) 2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 28 unchanged lines hidden (view full) --- 37from Uart import Uart8250 38 39class MaltaCChip(BasicPioDevice): 40 type = 'MaltaCChip' 41 malta = Param.Malta(Parent.any, "Malta") 42 43class MaltaIO(BasicPioDevice): 44 type = 'MaltaIO' | 1# Copyright (c) 2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 28 unchanged lines hidden (view full) --- 37from Uart import Uart8250 38 39class MaltaCChip(BasicPioDevice): 40 type = 'MaltaCChip' 41 malta = Param.Malta(Parent.any, "Malta") 42 43class MaltaIO(BasicPioDevice): 44 type = 'MaltaIO' |
45 time = Param.UInt64(1136073600, | 45 time = Param.Time('01/01/2009', |
46 "System time to use (0 for actual time, default is 1/1/06)") | 46 "System time to use (0 for actual time, default is 1/1/06)") |
47 year_is_bcd = Param.Bool(False, 48 "The RTC should interpret the year as a BCD value") |
|
47 malta = Param.Malta(Parent.any, "Malta") | 49 malta = Param.Malta(Parent.any, "Malta") |
48 frequency = Param.Frequency('1050Hz', "frequency of interrupts") | 50 frequency = Param.Frequency('1024Hz', "frequency of interrupts") |
49 50class MaltaPChip(BasicPioDevice): 51 type = 'MaltaPChip' 52 malta = Param.Malta(Parent.any, "Malta") 53 54class Malta(Platform): 55 type = 'Malta' 56 system = Param.System(Parent.any, "system") --- 13 unchanged lines hidden --- | 51 52class MaltaPChip(BasicPioDevice): 53 type = 'MaltaPChip' 54 malta = Param.Malta(Parent.any, "Malta") 55 56class Malta(Platform): 57 type = 'Malta' 58 system = Param.System(Parent.any, "system") --- 13 unchanged lines hidden --- |